package org.azj.logHelper;
import java.io.IOException;


// ��־�ӿ�
interface ILogger {
    // enable log dumper
    void Enable(); 
    // disable log dumper
    void Disable();
    // the maximun level of log dumping, ie is level is CRITICAL, then the higher level OPERATIONAL will not be recored.
    void SetLogLevel(LOG_LEVEL level);
    // fetch the folder path of the log file
    String GetLogFolderPath();
    // write messages in to the files
    String WriteLog(
        LOG_LEVEL eLogLevel, 
        LOG_COMPONENT component,
        String message)  throws IOException;
    void WriteLog(String message)  throws IOException;
    void DisposeLog() throws IOException;
}
